import dayjs from 'dayjs'
export const formatDate = (time, flag = ' - ') => {
  return dayjs(time).format(`YYYY${flag}MM${flag}DD`)
}
export function fn(value, flag = ' ') {
  value = value.toString()
  return value.charAt(0).toUpperCase() + value.slice(1) + flag
}
export function fo(value, flag = true) {
  return value + '123' + (flag ? 'qwe' : 'ewq')
}
